package com.mall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
@SpringBootApplication
@ImportResource({ "classpath:config/spring/*.xml" })
public class MainApplication {
	
	public static void main(String[] args) {
		SpringApplication app = new SpringApplication(MainApplication.class);
		app.run(args);
		/*ConfigurableApplicationContext applicationContext = new SpringApplicationBuilder()
				.sources(MainApplication.class)
				.bannerMode(Banner.Mode.OFF).run(args);*/
	}
}
